package com.gjl.wechat.service.dto.applet;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 小程序 jscode2Session 响应
 *
 * @author songlude
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QwJsCode2SessionRes extends WechatWorkCommonRes {

    /**
     * 用户在企业内的UserID
     */
    private String userid;
    /**
     * 用户在企业内的openUserID
     */
    @JSONField(name = "open_userid")
    private String openUserid;

    @JSONField(name = "session_key")
    private String sessionKey;

    /**
     * corpid
     */
    private String corpid;
}
